﻿//Write a program that prints the first 10 members of the sequence: 2, -3, 4, -5, 6, -7, ...

using System;

namespace CalcSequenceMembers
{
    class Sequence
    {
        static void Main()
        {
            float first = 2;
            float second = -3;
            float third = first + 2;
            float fourth = second - 2;
            float fifth = third + 2;
            float sixth = fourth - 2;
            float seventh = fifth + 2;
            float eighth = sixth - 2;
            float ninghth = seventh + 2;
            float tenth = eighth - 2;

            Console.WriteLine("The sequence members are:\n {0}\n{1}\n {2}\n{3}\n {4}\n{5}\n {6}\n{7}\n {8}\n{9}", first, second, third, fourth, fifth, sixth, seventh, eighth, ninghth, tenth);
        }
    }
}
